Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <head> <style> p { background-color: yellow; } p.padding { padding: 25px 50px; } </style> </head> <body> <p>This is a paragraph with no specified padding.</p> <p class="padding">This is a paragraph with specified paddings.</p> </body> <!-- Mirrored from www.w3schools.com/css/tryit.asp?filename=trycss_padding_shorthand by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 07:32:44 GMT --> </html>
Result:
Try it Yourself - © w3schools.com